﻿$(document).ready(function () {
    $(".iframe_SmallForm").colorbox({
        overlayClose: false,
        opacity: 0.2,
        iframe: true,
        width: 400,
        height: 350
    });
    $(".iframe_LargeForm").colorbox({
        overlayClose: false,
        opacity: 0.2,
        iframe: true,
        width: 700,
        height: 500
    });
    $(".iframe_MoreLargeForm").colorbox({
        overlayClose: false,
        opacity: 0.2,
        iframe: true,
        width: 900,
        height: 500
    });
    $("._Win").colorbox({
        overlayClose: false,
        opacity: 0.2,
        inline: true,
        width: 400,
        height: 350
    });

    $(".iframe_WareHouseDocument").colorbox({
        overlayClose: false,
        iframe: true,
        width: 800,
        height: 500
    });
    $(".iframe_Contract").colorbox({
        overlayClose: false,
        opacity: 0.2,
        iframe: true,
        width: 750,
        height: 500
    });

    $("._WinMaterials").colorbox({
        overlayClose: false,
        opacity: 0.2,
        inline: true,
        width: 660,
        height: 420
    });
    $("._WinNP").colorbox({
        overlayClose: false,
        opacity: 0.2,
        inline: true,
        width: 400,
        height: 260
    });
    $("._WinActivity").colorbox({
        overlayClose: false,
        opacity: 0.2,
        inline: true,
        width: 400,
        height: 260
    });
    $("._WinMaterialCategory").colorbox({
        overlayClose: false,
        opacity: 0.2,
        inline: true,
        width: 600,
        height: 450
    });
    $("._WinBudgetCategory").colorbox({
        overlayClose: false,
        opacity: 0.2,
        inline: true,
        width: 600,
        height: 450
    });
    $("._WinDetail").colorbox({
        overlayClose: false,
        opacity: 0.2,
        inline: true,
        width: 660,
        height: 400
    });

    $(".iframe_Img").colorbox({
        iframe: true,
        opacity: 0.2,
        width: 600,
        height: 400
    });


    //单据
    $(".iframe_BillDetailForm").colorbox({
        overlayClose: false,
        opacity: 0.2,
        iframe: true,
        width: 780,
        height: 500
    });
    $(".iframe_BillDetailFormWin").colorbox({
        overlayClose: false,
        opacity: 0.2,
        inline: true,
        width: 700,
        height: 400
    });
});